home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-06-09 | 2.3 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Jun 9 15:15:35 1993, modified Wed Jun 9 15:15:35 1993, creator Think C, type ASCII, 1595 bytes "iacpoint.c" , at 0x6bb 402 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 69 61 63 70 6f 69 | 6e 74 2e 63 00 00 00 00 |..iacpoi|nt.c....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 06 3b 00 | 00 01 92 a8 3b e7 57 a8 |......;.|....;.W.|
|00000060| 3b e7 57 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.W.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9a 0d 00 00 |........|........|
|00000080| 0d 2f 2a a9 20 43 6f 70 | 79 72 69 67 68 74 20 31 |./*. Cop|yright 1|
|00000090| 39 38 38 2d 31 39 39 33 | 20 55 73 65 72 4c 61 6e |988-1993| UserLan|
|000000a0| 64 20 53 6f 66 74 77 61 | 72 65 2c 20 49 6e 63 2e |d Softwa|re, Inc.|
|000000b0| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|000000c0| 65 72 76 65 64 2e 2a 2f | 0d 0d 23 69 6e 63 6c 75 |erved.*/|..#inclu|
|000000d0| 64 65 20 22 69 61 63 69 | 6e 74 65 72 6e 61 6c 2e |de "iaci|nternal.|
|000000e0| 68 22 0d 0d 0d 23 64 65 | 66 69 6e 65 20 74 79 70 |h"...#de|fine typ|
|000000f0| 65 50 6f 69 6e 74 20 27 | 51 44 70 74 27 0d 0d 0d |ePoint '|QDpt'...|
|00000100| 42 6f 6f 6c 65 61 6e 20 | 49 41 43 70 75 73 68 70 |Boolean |IACpushp|
|00000110| 6f 69 6e 74 70 61 72 61 | 6d 20 28 50 6f 69 6e 74 |ointpara|m (Point|
|00000120| 20 76 61 6c 2c 20 4f 53 | 54 79 70 65 20 6b 65 79 | val, OS|Type key|
|00000130| 77 6f 72 64 29 20 7b 0d | 09 0d 09 72 65 74 75 72 |word) {.|...retur|
|00000140| 6e 20 28 49 41 43 70 75 | 73 68 70 6f 69 6e 74 69 |n (IACpu|shpointi|
|00000150| 74 65 6d 20 28 49 41 43 | 67 6c 6f 62 61 6c 73 2e |tem (IAC|globals.|
|00000160| 65 76 65 6e 74 2c 20 76 | 61 6c 2c 20 6b 65 79 77 |event, v|al, keyw|
|00000170| 6f 72 64 29 29 3b 0d 09 | 7d 20 2f 2a 49 41 43 70 |ord));..|} /*IACp|
|00000180| 75 73 68 70 6f 69 6e 74 | 70 61 72 61 6d 2a 2f 0d |ushpoint|param*/.|
|00000190| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 49 41 43 72 65 74 |..Boolea|n IACret|
|000001a0| 75 72 6e 70 6f 69 6e 74 | 20 28 50 6f 69 6e 74 20 |urnpoint| (Point |
|000001b0| 78 29 20 7b 0d 09 0d 09 | 72 65 74 75 72 6e 20 28 |x) {....|return (|
|000001c0| 49 41 43 70 75 73 68 70 | 6f 69 6e 74 69 74 65 6d |IACpushp|ointitem|
|000001d0| 20 28 49 41 43 67 6c 6f | 62 61 6c 73 2e 72 65 70 | (IACglo|bals.rep|
|000001e0| 6c 79 2c 20 78 2c 20 6b | 65 79 44 69 72 65 63 74 |ly, x, k|eyDirect|
|000001f0| 4f 62 6a 65 63 74 29 29 | 3b 0d 09 7d 20 2f 2a 49 |Object))|;..} /*I|
|00000200| 41 43 72 65 74 75 72 6e | 70 6f 69 6e 74 2a 2f 0d |ACreturn|point*/.|
|00000210| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 49 41 43 67 65 74 |..Boolea|n IACget|
|00000220| 70 6f 69 6e 74 70 61 72 | 61 6d 20 28 4f 53 54 79 |pointpar|am (OSTy|
|00000230| 70 65 20 6b 65 79 77 6f | 72 64 2c 20 50 6f 69 6e |pe keywo|rd, Poin|
|00000240| 74 20 2a 76 61 6c 29 20 | 7b 0d 09 0d 09 69 66 20 |t *val) |{....if |
|00000250| 28 21 49 41 43 67 65 74 | 70 6f 69 6e 74 69 74 65 |(!IACget|pointite|
|00000260| 6d 20 28 49 41 43 67 6c | 6f 62 61 6c 73 2e 65 76 |m (IACgl|obals.ev|
|00000270| 65 6e 74 2c 20 6b 65 79 | 77 6f 72 64 2c 20 76 61 |ent, key|word, va|
|00000280| 6c 29 29 20 7b 0d 09 0d | 09 09 49 41 43 70 61 72 |l)) {...|..IACpar|
|00000290| 61 6d 65 72 72 6f 72 20 | 28 49 41 43 67 6c 6f 62 |amerror |(IACglob|
|000002a0| 61 6c 73 2e 65 72 72 6f | 72 63 6f 64 65 2c 20 22 |als.erro|rcode, "|
|000002b0| 5c 70 70 6f 69 6e 74 22 | 2c 20 6b 65 79 77 6f 72 |\ppoint"|, keywor|
|000002c0| 64 29 3b 0d 09 09 0d 09 | 09 72 65 74 75 72 6e 20 |d);.....|.return |
|000002d0| 28 66 61 6c 73 65 29 3b | 0d 09 09 7d 0d 09 0d 09 |(false);|...}....|
|000002e0| 49 41 43 67 6c 6f 62 61 | 6c 73 2e 6e 65 78 74 70 |IACgloba|ls.nextp|
|000002f0| 61 72 61 6d 6f 70 74 69 | 6f 6e 61 6c 20 3d 20 66 |aramopti|onal = f|
|00000300| 61 6c 73 65 3b 20 2f 2a | 6d 75 73 74 20 62 65 20 |alse; /*|must be |
|00000310| 72 65 73 65 74 20 66 6f | 72 20 65 61 63 68 20 70 |reset fo|r each p|
|00000320| 61 72 61 6d 2a 2f 0d 09 | 0d 09 72 65 74 75 72 6e |aram*/..|..return|
|00000330| 20 28 74 72 75 65 29 3b | 0d 09 7d 20 2f 2a 49 41 | (true);|..} /*IA|
|00000340| 43 67 65 74 70 6f 69 6e | 74 70 61 72 61 6d 2a 2f |Cgetpoin|tparam*/|
|00000350| 0d 09 0d 09 0d 42 6f 6f | 6c 65 61 6e 20 49 41 43 |.....Boo|lean IAC|
|00000360| 67 65 74 70 6f 69 6e 74 | 69 74 65 6d 20 28 41 45 |getpoint|item (AE|
|00000370| 44 65 73 63 4c 69 73 74 | 20 2a 6c 69 73 74 2c 20 |DescList| *list, |
|00000380| 6c 6f 6e 67 20 6e 2c 20 | 50 6f 69 6e 74 20 2a 76 |long n, |Point *v|
|00000390| 61 6c 29 20 7b 0d 09 0d | 09 72 65 67 69 73 74 65 |al) {...|.registe|
|000003a0| 72 20 4f 53 45 72 72 20 | 65 63 3b 0d 09 44 65 73 |r OSErr |ec;..Des|
|000003b0| 63 54 79 70 65 20 6b 65 | 79 3b 0d 09 44 65 73 63 |cType ke|y;..Desc|
|000003c0| 54 79 70 65 20 74 79 70 | 65 43 6f 64 65 3b 0d 09 |Type typ|eCode;..|
|000003d0| 53 69 7a 65 20 61 63 74 | 75 61 6c 53 69 7a 65 3b |Size act|ualSize;|
|000003e0| 0d 09 0d 09 69 66 20 28 | 28 2a 6c 69 73 74 29 2e |....if (|(*list).|
|000003f0| 64 65 73 63 72 69 70 74 | 6f 72 54 79 70 65 20 21 |descript|orType !|
|00000400| 3d 20 74 79 70 65 41 45 | 4c 69 73 74 29 20 7b 0d |= typeAE|List) {.|
|00000410| 09 0d 09 09 65 63 20 3d | 20 41 45 47 65 74 4b 65 |....ec =| AEGetKe|
|00000420| 79 50 74 72 20 28 6c 69 | 73 74 2c 20 6e 2c 20 74 |yPtr (li|st, n, t|
|00000430| 79 70 65 50 6f 69 6e 74 | 2c 20 26 74 79 70 65 43 |ypePoint|, &typeC|
|00000440| 6f 64 65 2c 20 28 50 74 | 72 29 76 61 6c 2c 0d 09 |ode, (Pt|r)val,..|
|00000450| 09 09 09 09 09 20 20 73 | 69 7a 65 6f 66 20 28 2a |..... s|izeof (*|
|00000460| 76 61 6c 29 2c 20 26 61 | 63 74 75 61 6c 53 69 7a |val), &a|ctualSiz|
|00000470| 65 29 3b 0d 0d 09 09 69 | 66 20 28 65 63 20 21 3d |e);....i|f (ec !=|
|00000480| 20 65 72 72 41 45 44 65 | 73 63 4e 6f 74 46 6f 75 | errAEDe|scNotFou|
|00000490| 6e 64 29 0d 09 09 09 67 | 6f 74 6f 20 64 6f 6e 65 |nd)....g|oto done|
|000004a0| 3b 0d 09 09 7d 0d 0d 09 | 65 63 20 3d 20 41 45 47 |;...}...|ec = AEG|
|000004b0| 65 74 4e 74 68 50 74 72 | 20 28 6c 69 73 74 2c 20 |etNthPtr| (list, |
|000004c0| 6e 2c 20 74 79 70 65 50 | 6f 69 6e 74 2c 20 26 6b |n, typeP|oint, &k|
|000004d0| 65 79 2c 20 26 74 79 70 | 65 43 6f 64 65 2c 20 28 |ey, &typ|eCode, (|
|000004e0| 50 74 72 29 20 76 61 6c | 2c 20 73 69 7a 65 6f 66 |Ptr) val|, sizeof|
|000004f0| 20 28 2a 76 61 6c 29 2c | 20 26 61 63 74 75 61 6c | (*val),| &actual|
|00000500| 53 69 7a 65 29 3b 0d 09 | 0d 09 64 6f 6e 65 3a 0d |Size);..|..done:.|
|00000510| 09 0d 09 49 41 43 67 6c | 6f 62 61 6c 73 2e 65 72 |...IACgl|obals.er|
|00000520| 72 6f 72 63 6f 64 65 20 | 3d 20 65 63 3b 0d 09 0d |rorcode |= ec;...|
|00000530| 09 72 65 74 75 72 6e 20 | 28 65 63 20 3d 3d 20 6e |.return |(ec == n|
|00000540| 6f 45 72 72 29 3b 0d 09 | 7d 20 2f 2a 49 41 43 67 |oErr);..|} /*IACg|
|00000550| 65 74 70 6f 69 6e 74 69 | 74 65 6d 2a 2f 0d 0d 0d |etpointi|tem*/...|
|00000560| 42 6f 6f 6c 65 61 6e 20 | 49 41 43 70 75 73 68 70 |Boolean |IACpushp|
|00000570| 6f 69 6e 74 69 74 65 6d | 20 28 41 45 44 65 73 63 |ointitem| (AEDesc|
|00000580| 4c 69 73 74 20 2a 6c 69 | 73 74 2c 20 50 6f 69 6e |List *li|st, Poin|
|00000590| 74 20 76 61 6c 2c 20 6c | 6f 6e 67 20 6e 29 20 7b |t val, l|ong n) {|
|000005a0| 0d 09 0d 09 72 65 67 69 | 73 74 65 72 20 4f 53 45 |....regi|ster OSE|
|000005b0| 72 72 20 65 63 3b 0d 09 | 0d 09 69 66 20 28 28 2a |rr ec;..|..if ((*|
|000005c0| 6c 69 73 74 29 2e 64 65 | 73 63 72 69 70 74 6f 72 |list).de|scriptor|
|000005d0| 54 79 70 65 20 21 3d 20 | 74 79 70 65 41 45 4c 69 |Type != |typeAELi|
|000005e0| 73 74 29 0d 09 09 65 63 | 20 3d 20 41 45 50 75 74 |st)...ec| = AEPut|
|000005f0| 4b 65 79 50 74 72 20 28 | 6c 69 73 74 2c 20 6e 2c |KeyPtr (|list, n,|
|00000600| 20 74 79 70 65 50 6f 69 | 6e 74 2c 20 28 50 74 72 | typePoi|nt, (Ptr|
|00000610| 29 26 76 61 6c 2c 20 73 | 69 7a 65 6f 66 20 28 76 |)&val, s|izeof (v|
|00000620| 61 6c 29 29 3b 0d 09 65 | 6c 73 65 0d 09 09 65 63 |al));..e|lse...ec|
|00000630| 20 3d 20 41 45 50 75 74 | 50 74 72 20 28 6c 69 73 | = AEPut|Ptr (lis|
|00000640| 74 2c 20 6e 2c 20 74 79 | 70 65 50 6f 69 6e 74 2c |t, n, ty|pePoint,|
|00000650| 20 28 50 74 72 29 26 76 | 61 6c 2c 20 73 69 7a 65 | (Ptr)&v|al, size|
|00000660| 6f 66 20 28 76 61 6c 29 | 29 3b 0d 09 0d 09 49 41 |of (val)|);....IA|
|00000670| 43 67 6c 6f 62 61 6c 73 | 2e 65 72 72 6f 72 63 6f |Cglobals|.errorco|
|00000680| 64 65 20 3d 20 65 63 3b | 0d 09 0d 09 72 65 74 75 |de = ec;|....retu|
|00000690| 72 6e 20 28 65 63 20 3d | 3d 20 6e 6f 45 72 72 29 |rn (ec =|= noErr)|
|000006a0| 3b 0d 09 7d 20 2f 2a 49 | 41 43 70 75 73 68 70 6f |;..} /*I|ACpushpo|
|000006b0| 69 6e 74 69 74 65 6d 2a | 2f 0d 0d 00 00 00 00 00 |intitem*|/.......|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00000710| 09 49 41 43 67 6c 6f 62 | 61 6c 73 2e 65 72 72 6f |.IACglob|als.erro|
|00000720| 72 63 6f 64 65 20 3d 20 | 65 63 3b 0d 09 0d 09 69 |rcode = |ec;....i|
|00000730| 0a 69 61 63 70 6f 69 6e | 74 2e 63 01 02 00 00 00 |.iacpoin|t.c.....|
|00000740| 50 61 72 74 53 49 54 78 | 00 00 00 00 00 00 00 00 |PartSITx|........|
|00000750| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a9 81 44 d5 00 00 | 00 00 00 00 01 92 61 6c |....D...|......al|
|00000780| 73 65 29 3b 0d 09 09 7d | 0d 09 0d 09 2a 68 62 69 |se);...}|....*hbi|
|00000790| 6e 61 72 79 20 3d 20 72 | 65 73 75 6c 74 2e 64 61 |nary = r|esult.da|
|000007a0| 74 61 48 61 6e 64 6c 65 | 3b 0d 09 0d 09 2a 62 69 |taHandle|;....*bi|
|000007b0| 6e 61 72 79 74 79 70 65 | 20 3d 20 72 65 73 75 6c |narytype| = resul|
|000007c0| 74 2e 64 65 73 63 72 69 | 70 74 6f 72 54 79 70 65 |t.descri|ptorType|
|000007d0| 3b 0d 09 0d 09 49 41 43 | 67 6c 6f 62 61 6c 73 2e |;....IAC|globals.|
|000007e0| 6e 65 78 74 70 61 72 61 | 6d 6f 70 74 69 6f 6e 61 |nextpara|moptiona|
|000007f0| 6c 20 3d 20 66 61 6c 73 | 65 3b 20 2f 2a 6d 75 73 |l = fals|e; /*mus|
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 06 | 00 04 00 4c 00 10 01 d6 |........|...L....|
|00000830| 02 40 00 4c 00 10 01 d6 | 02 40 a8 21 b2 e8 00 00 |.@.L....|.@.!....|
|00000840| 01 65 00 00 01 65 00 00 | 00 01 01 00 00 00 01 00 |.e...e..|........|
|00000850| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 c5 8a 58 |...L...L|...F...X|
|00000860| 17 e0 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000870| 00 0a 03 ed 00 00 00 00 | 00 00 00 c5 89 80 13 43 |........|.......C|
|00000880| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00000890| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+